#include<bits/stdc++.h>
using namespace std;
int g[510][510],tot,f[510][510];//f数组充当临时数组 
int main()
{
	int i = 0;
	int x[] = {1,2,3,4,5}; 
	while (x[++i] < 5)
	{
	}
	printf("%d\n",i);
	i = 0;
	while (x[i] < 5)
	{
		i++;
	}
	printf("%d",i);

	
	return 0;
} 